UML Metamodel Formalization with Object-Z: the State Machine Package
نویسندگان
چکیده
This paper presents a formalization using Object-Z of the State Machine package in the UML metamodel. In the specification, the abstract syntax and the static and dynamic semantics for each individual model construct in the package are grouped together and encapsulated within a single Object-Z class. For formalizing the dynamic semantics, a denotational semantics of the construct is first given ignoring detailed operational sequences. Based on this denotational semantics, an operational semantics is then defined in terms of (Object-Z) class operations and invariants constraining the operation sequences. The timed refinement calculus is used to define the operation sequences within Object-Z. With this approach, we provide not only a denotational semantics of the UML state machine but also an operational semantics consistent with the denotational semantics. This should enhance the precision of the UML state machine and also overcome the lack of modularity, extensibility and reusability of the current UML semantic representation.
منابع مشابه
A Metamodel for Object-Oriented Statecharts
syntax static semantics dynamic semantics UML approach class diagrams OCL natural language Object-Z approach Object-Z class specs Object-Z predicates Object-Z operation & class diagrams in class specs specs Figure 4: Comparison of UML and Object-Z approach entities. We use Object-Z as a single formalism for the abstract syntax, the static semantics and the dynamic semantics. 1.5 Comparison to t...
متن کاملCan Intuition Become Rigorous? Foundations for UML Model Verification Tools1
The Unified Modeling Language, UML, is the objectoriented notation adopted as the standard for objectoriented Analysis and Design by the Object Management Group. This paper reports on research to facilitate the formal revision of UML informal specifications. The approach is based on the algebraic specification formal theory, which is used to formalize the UML Statechart Diagrams and subsequentl...
متن کاملCan Intuition Become Rigorous? Foundations for UML Model Verification Tools
The Unified Modeling Language, UML, is the objectoriented notation adopted as the standard for objectoriented Analysis and Design by the Object Management Group. This paper reports on research to facilitate the formal revision of UML informal specifications. The approach is based on the algebraic specification formal theory, which is used to formalize the UML Statechart Diagrams and subsequentl...
متن کاملFormalization of the UML Metamodel: An Approach Based Upon the Four-Layer Metamodeling Architecture
Modeling tools move towards more and more abstract approaches such as metamodels and the four-layer metamodeling architecture. We address modeling tools using the UML metamodel as a core. We propose a fourlayer metamodeling architecture based upon a two-fold structure of metametamodel and metamodel layers. The meta-metamodel layer is populated with a lattice of modeling paradigms that are insta...
متن کاملSome Shortcomings of OCL, the Object Constraint Language of UML
The purpose of this paper is to expose some shortcomings of the Object Constraint Language (OCL). We argue that, despite its numerous bene ts, OCL is too implementation-oriented and therefore not well-suited for conceptual modelling. Moreover, it is at times unnecessarily verbose, yet far from natural language. In the past couple of years, we have designed a language, Alloy, that has similar mo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000